class cores extends eui.Component implements eui.UIComponent {
	private static st: cores = null;//单例存储
	index: diansha.index;
	login: diansha.login;
	main: diansha.main;
	changjing2: changjing2;
	music2: music2;
	// duti1_sound: egret.Sound = RES.getRes("duti1_mp3");//读题声音.
	// duti2_sound: egret.Sound = RES.getRes("duti2_mp3");//读题声音.
	// houjiao_sound: egret.Sound = RES.getRes("houjiao_mp3");//读题声音.
	// bg_sound: egret.Sound = RES.getRes("bg_mp3");//读题声音
	// da_sound: egret.Sound = RES.getRes("chongci_mp3");//读题声音
	// daota_sound: egret.Sound = RES.getRes("daota_mp3");//读题声音
	// dongzhu_sound: egret.Sound = RES.getRes("dongzhu_mp3");//读题声音
	// pao_sound: egret.Sound = RES.getRes("pao_mp3");//读题声音
	// saomiao_sound: egret.Sound = RES.getRes("saomiao_mp3");//读题声音
	// dianji_sound: egret.Sound = RES.getRes("dianji_mp3");//读题声音
	// da_sound: egret.Sound = RES.getRes("da_mp3");//读题声音
	constructor() {
		super();
		// this.music2 = new music2(this.bg_sound, this.da_sound);
		this.index = new diansha.index();
		this.login = new diansha.login();
		this.main = new diansha.main();
		this.changjing2 = new changjing2(this.index, this.login, this.main);
		this.addChild(this.changjing2);
		this.changjing2.to(this.main);
	}



















	public static getinstatic(): cores {
		if (this.st == null) {
			this.st = new cores();
		}
		return this.st;
	}



}